package com.pay.util;

import java.util.Random;

/**
 * Created by Administrator on 2017/12/7 0007.
 */

public class RandomUtil {
    public static int generateFourDigit() {
        Random random = new Random();
        int value = random.nextInt(10000 - 1000) + 1000;
        return value;
    }
}
